'use strict';

angular
  .module('homepageApp', [
    'ngCookies',
    'ngResource',
    'ngSanitize',
    'ui.bootstrap',
    //'scrollingTo',
    'ngRoute'
  ])
  .config(function ($routeProvider) {
    $routeProvider
        .when('/', {
            templateUrl: 'views/main.html',
            controller: 'MainCtrl'
        }).when('/about', {
            templateUrl: 'views/about.html',
            countroller: 'Mainctrl'
        }).when('/contact', {
            templateUrl: 'views/contact.html',
            countroller: 'ContactCtrl'
        }).when('/services', {
            templateUrl: 'views/services.html',
            countroller: 'Mainctrl'
        }).otherwise({
            redirectTo: '/'
        });
  });
